package com.tianruan.dc.modules.sys.user.entity.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;


@Data
@TableName("t_ipa_consultation_solution")

public class TutorSolutionDTO{

    private String id;
    //主键

    private String consultation_id;

    @NotEmpty(message = "解答内容不能为空")
    private String solution;
    //解答内容

    private String createBy;
    //解答导师

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createDate;
    //解答时间

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateDate;
    //更新时间

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime_S;
    //起始时间

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime_S;
    //结束时间

    private String delFlag;
    //删除标记

}
